<template>
  <ul>
    <CommentItem v-for="comment in comments" :key="comment"/>
  </ul>
</template>

<script setup>
import CommentItem from './CommentItem.vue';
import { defineProps } from 'vue';

const props = defineProps({
  comments: Array
});
</script>